﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="list_sub_search.ascx.cs" Inherits="vboard_component_board_template_searchresult_default_list_sub_search" %>

<asp:Panel ID="SearchFormPanel" runat="server" CssClass="list_sub_search" DefaultButton="SearchButton">
	<fieldset class="CommonFieldSet">
		<legend><%= GetLocalResourceObject("SearchField_Legend").ToString()%></legend>
		<div><%= GetLocalResourceObject("SearchForm_Description").ToString() %></div>
		<div>
			<asp:TextBox ID="SearchTextBox" runat="server"
				Columns="30"
				MaxLength="30"
				CssClass="VWebGlobal_TextBox"
				ValidationGroup="SearchForm" />
			<asp:Button ID="SearchButton" runat="server" Text="<%$ Resources:Button_Search.Text %>"
				ValidationGroup="SearchForm"
				OnClick="SearchButton_Click" />
			<asp:RequiredFieldValidator ID="SearchTextBoxRequiredFieldValidator" runat="server"
				ControlToValidate="SearchTextBox"
				ErrorMessage="<%$ Resources:VGlobalResources, Board_Validate_SearchText_Insert %>"
				ValidationGroup="SearchForm"
				Display="None"
				SetFocusOnError="True" />
			<ajaxToolkit:ValidatorCalloutExtender ID="SearchTextBoxRequiredFieldValidatorCalloutExtender" runat="Server"
					TargetControlID="SearchTextBoxRequiredFieldValidator"
					CssClass="VWebGlobal_ValidatorcalloutNone"
					Width="250px"
					HighlightCssClass="VWebGlobal_ValidatorcalloutTargetHighlight" />
		</div>
	</fieldset>
</asp:Panel>